package com.onileVideo.content.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.onileVideo.content.model.dto.QueryCourseParamsDto;
import com.onileVideo.content.model.po.CourseBase;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 课程基本信息 Mapper 接口
 * </p>
 *
 * @author itcast
 */
@Mapper
public interface CourseBaseMapper extends BaseMapper<CourseBase> {
    //条件查询课程
    IPage<CourseBase> selectAllWithCondition(@Param("page") Page<CourseBase> page, @Param("queryCourseParamsDto") QueryCourseParamsDto queryCourseParamsDto);

}
